<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comment')}:</label>
        <div class="col-xs-12 col-sm-8">
<!--            <input id="c-comment" data-rule="required" class="form-control" name="row[comment]" type="text" value="{$row.comment|htmlentities}">-->
            <textarea id="c-comment" data-rule="required" class="form-control" name="row[comment]"  cols="30" rows="10">{$row.comment|htmlentities}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plaza_post_id')}:</label>
        <div class="col-xs-12 col-sm-8">
<!--            <input id="c-plaza_post_id" data-rule="required" data-source="plaza/post/index" class="form-control selectpage" name="row[plaza_post_id]" type="text" value="{$row.plaza_post_id|htmlentities}">-->

            <select id="c-plaza_post_id" data-rule="required" class="form-control selectpicker" name="row[plaza_post_id]">
                {foreach $plaza_post_list as $v}
                <option value="{$v.id}" {if condition="$v.id eq $row.plaza_post_id"}selected="selected"{/if}>{$v.postname}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
